package tech.daoxuan.signlogin.service;

import tech.daoxuan.signlogin.entity.DataResp;
import tech.daoxuan.signlogin.entity.User;

/**
 * @ClassName UserService
 * @Description TODO
 * @Author daoxuan
 * @Date 2019/4/29 12:14
 * @Version 1.0
 */
public interface UserService {
    public User selectUser(long userId);

    public DataResp register(User user);

    public DataResp login(User user, boolean passwordLogin);

    public DataResp aliveCheck(String imgBase64, String checkType, String userId);

}
